/*==========================================================================
	Section:	Splash Screen
==========================================================================*/
Msg("===================================\n")
Msg("	Wolf Prop Protection V4	\n"        )
Msg("===================================\n")

	if ( WPP ) and ( type(WPP) != "table" ) then
		Msg("	Failed: Comflicting Addon!	\n"    )
		Msg("===================================\n")
		return
	end --NOOOOOO Conflict!

Msg("	By Goluch	\n"    )
Msg("===================================\n")
	
/*==========================================================================
	NameSpace:	WPP
==========================================================================*/
WPP = { }
local WPP = WPP --Faster Access
WPP.Rev = 2.00

/*==========================================================================
	Section:	Convars!
==========================================================================*/
CreateConVar( "wpp_admin_power", "2", { FCVAR_REPLICATED })
CreateConVar( "wpp_auto_remove", "60", { FCVAR_REPLICATED })
CreateConVar( "wpp_auto_clean" , "300", { FCVAR_REPLICATED })
CreateConVar( "wpp_auto_admins" , "0", { FCVAR_REPLICATED })

CreateConVar( "wpp_anti_colide", "1", { FCVAR_REPLICATED })
CreateConVar( "wpp_anti_damage", "0", { FCVAR_REPLICATED })
CreateConVar( "wpp_anti_noclip", "0", { FCVAR_REPLICATED })

/*==========================================================================
	Section:	Includes!
==========================================================================*/
include("Entity.lua")
include("Player.lua")
include("Undo.lua")
include("Hooks.lua")
include("CPPI.lua")
include("Usermessage.lua")

if ( CLIENT ) then
	include("Hud.lua")
	include("Menu.lua")
else
	include("Commands.lua")
	
/*==========================================================================
	Section:	ClientSide Files!
==========================================================================*/
	AddCSLuaFile("Core.lua")
	AddCSLuaFile("Entity.lua")
	AddCSLuaFile("Player.lua")
	AddCSLuaFile("Undo.lua")
	AddCSLuaFile("Hooks.lua")
	AddCSLuaFile("CPPI.lua")
	AddCSLuaFile("Hud.lua")
	AddCSLuaFile("Menu.lua")
	AddCSLuaFile("Usermessage.lua")
	
/*==========================================================================
	Section:	Materials!
==========================================================================*/
	resource.AddFile("materials/wpp/wpp.vmt")
end
